using CustomerContactSystem.Core.Infrastructure.Domain;

namespace CustomerContactSystem.Core.Model {
    public class EnquiryClassification : Entity {
        public virtual string Classification { get; set; }

        protected override void Validate() {
            if (string.IsNullOrEmpty(Classification)) {
                AddBrokenRule(new BusinessRule("TypeName", "Type name is required!"));
            }
        }
    }
}